Pfhorte 2.0
By Steve Israelson

Hello all!

Pfhorte 2.0 is a complete re-write of Pfhorte1.0dxx.  Pfhorte 2.0 is still not complete, hence the .a5 extension.  This release provides you with a sneak peek at what the future holds for Pfhorte.  This version marks the transition from Marathon 1 map making to Marathon 2 map making.  This means that you can only edit Marathon 2 maps with it.  Since it is very similar to Pfhorte 1.0, I will only note the differences between the two.

If you include this software in ANY CD collection, I would appreciate a sample copy.
If you write an article in any magazine I would appreciate my name at least being mentioned.

After Pfhorte 2.0 hits beta, ie it is feature complete, I will be releasing the source code for your general consumption.  You will not beable to use this code in any comercial products, nor in ANY Marathon 1 or 2 map editors.  You can use it for making Doom or DarkForces editors if you want to.

There is also a list of things to be done before a beta state is reached.

You need an alias to M2's shape file called "shapes" in the same folder as Pfhorte.

Enjoy!

Changes Since 2.0a7
- Fixed up the line tool a bit.  Sometimes made bad polys.
- Deleteing a poly deletes its lines, unless you hold option down.
- Option clicking the line tool continues a line (try it).
- Added sliders and other nifty controls to stuff that had numbers that were not useful.
- Fixed prefs bug, again.
- Can not delete a line that is attached to a poly.
- In the 3d view you can alter the floor and ceiling heights of selected polys with the arrow keys.
- Nasty bug with the line tool and the hammer tool.
- Now fixes problems with the level on opening.  Will fix bugs caused by line tool bug.

Changes Since 2.0a6
- Inspector is now wider.
- Side inspector shows all texture types now.
- show # objects in object plac dialog.
- Multi level map saving bug fixed.
- Prefs was crashing.
- Add a None texture to the texture popups.
- Could not click on notes.
- Gave the windows back their zoom buttons
- Clicking on the first point closes the polygon.
- Clicking new points on existing points, shows the new point in the point color.
- Removed useless info from media dialog.
- Changing texture sets fixes up media too.
- Re-done defaults for polys and sides.  Now can inspect the default poly and side.
- Disabled the script menu.
- Hammer tool: Adding a new point.
- Hammer tool: Deleting an old point.
- Hammer tool: Connecting and disconnecting a point by dragging it.
- Can now copy and paste levels, Buggy?.
- Line tool.  Use it to draw lines.  Auto makes polys if it can.
- Can now set the light controlled by a light switch?
- Can now set the tag controlled by a destroyable tag switch.
- Can now set the tag controlled by an uplink chip switch.
- Selecting platform switch, now DOES hilite the platform.
- Deleting polys no longer hoses platforms.
- Most platform settings could be set but NOT unset, now fixed.
- Allowed more characters in most edit fields, including media height.
- Converted platforms no longer have door flag set.  Set it yourself if needed.
- Converted mission info has the landscape texture set to 0.
- You can now click on polys with a landscaped texture on it.
- Due to a bug in the shapes file (I think) the 4th landscape texture was not being loaded.
- Now a slider to set relative poly height (Ugly).
- The plain poly color now works properly.
- The show poly lighting draw mode works, sort of.
- Fixed bug when trying to save a newly created map file more than once.
- Center map command.
- Zooming in too far no long crashes.
- Can have landscaped textures in defaults.
- z coord for objects.  Distance from ceiling if hanging flag set.
- Snap to grid works when creating polys or lines.

Changes since 2.0a5
- Fix saving bug.
- All directions and angles are in degrees. 0 = east, 90 = north etc.
- Fixed up the poly type popup.
- Texture draw mode for sides was not working.
- Fix some light type editing bugs.
- New polys should default to media type of NONE.
- Allow sides on all lines.
- Plain map draw mode.
- Object orientation should not go past 360.
- fix wierd hilighting of strange lines.
- fix crasher after long edit session.
- poly and wall draw modes.
- poly line selection more accurate.
- 1 more zoom in/out level.
- Changing texture set should refresh screen.
- Dim out secondary if there is no need for secondary.
- Object plac stuff flakey.
- Real object plac editor.
- Change grouping to layering.
- Prefs for all the new things.
- Backdrops, ie other texture sets for landscape.
- Saving now marks the file as not needing to be saved.

Changes since 2.0a4
- I got some maps to actually work!  Thanks to Ryan Martell from Bungie!
- Opening Marathon 1 maps will convert them to Marathon 2.
- Fixed the error messages, so they said "shapes file not found" instead of "Zero length line" duh!
- Sped up the 3d view a bit.
- In the 3d view use the '[' and ']' keys to change the texture of a selected floor or ceiling or wall.
- In the 3d view use the arrow keys to change the alignment of textures on the selected wall.
- The control panels types have a number preceding their anme indicating what texture set it works with.
- A pile of stuff I forgot about already.

Changes since 2.0a3
- Added relative height checkbox to polygon inspector.
- Added the 3d Viewer - try it out. Keys:4,5,6,8 on keypad, and z,x,d,c.
- Allows editing of Marathon 2 Maps ONLY.  I will release a map convertor one day.


Differences from Pfhorte 1.0

- You can now drag levels into different positions in the levels list window.
- You can view the floor or ceiling and wall textures in the map view.
- Dragging objects in the map window is done dynamically.
- The map window remembers how big it was and its scale factor between saves.
- Selecting walls is done by clicking near the wall on the side that you want to inspect.
- The shapes file is scanned every time Pfhorte is run, and no cache file is made.
- Changing the orientation of objects is done by first selecting on or MORE objects an then option clicking where they should be looking.
- Setting switch, teleporter etc destinations is done by selecting the switch etc, and then option clicking on the destination poly.
- The arrow keys nudge the current selection.
- You can select multiple polys, notes and objects at the same time.
- You can group polys now!  Yes.....

Still to Be done:
- The 3D view is not fast enough, and is still buggy.
- Scripting is not working.
- There is little checking of the map for error conditions, so watch out.
- Other stuff I can't recall right now....


Steve I.
